package com.shop.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.user.po.GoodsComment;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author banxia
 * @since 2023-04-18
 */
public interface GoodsCommentService extends IService<GoodsComment> {

    void updateGoodsBaseComment(Long goodsId, Long rate);

    void comment(Long rate, Long goodsId, String comment);

    String getRate(Long goodsId);

    List<GoodsComment> getComment(Long goodsId);
}
